package com.navinfo.opentsp.platform.computing.dto;

import com.navinfo.opentsp.platform.location.protocol.common.LCObdInformation;
import com.navinfo.platform.bigdata.util.EntityConvert;

public class PcodeFaultCodeDto {
    private String pCodeState;
    private String pCode;

    public String getpCodeState() {
        return pCodeState;
    }

    public void setpCodeState(String pCodeState) {
        this.pCodeState = pCodeState;
    }

    public String getpCode() {
        return pCode;
    }

    public void setpCode(String pCode) {
        this.pCode = pCode;
    }

//    /**
//     * 解析成String拼接字符串
//     * @param pCodeFault
//     * @return
//     */
//    public static String parseString(LCObdInformation.PcodeFaultCode pCodeFault) {
//        return EntityConvert.convert(pCodeFault.getPCode(), pCodeFault.getPCodeState());
//    }
//    /**
//     * 解析成String拼接字符串
//     * @param spnFmiFault
//     * @return
//     */
//    public static String parseString(LCObdInformation.SpnFmiFaultCode spnFmiFault) {
//        return EntityConvert.convert(spnFmiFault.getSpn(), spnFmiFault.getFmi());
//    }
}
